<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<html>

	<head>
		<meta charset="UTF-8">
		<title>商品管理</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
		<meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.">
		<link rel="stylesheet" href="../lib/weui.min.css">
		<link rel="stylesheet" href="../css/jquery-weui.css">
		<link rel="stylesheet" href="../css/style.css">
	</head>

	<body ontouchstart>
		<header class="wy-header" style="position:fixed; top:0; left:0; right:0; z-index:200;">
			<div class="wy-header-icon-back" onclick="back();"><span></span></div>
			<div class="wy-header-title">商品管理</div>
			<div><a href="GoodsEditor.htm">添加商品>>></a></div>
		</header>
		<div class='weui-content'>
			<div class="weui-tab">
				<!--
                	作者：798966657@qq.com
                	时间：2018-06-01
                	描述：顶部商品分类
                -->
				<!--<div class="weui-navbar" style="position:fixed; top:44px; left:0; right:0; height:44px; background:#fff;">-->
					<!--<a class="weui-navbar__item proinfo-tab-tit font-14 weui-bar__item&#45;&#45;on" href="#tab1">全部</a>-->
					<!--<a class="weui-navbar__item proinfo-tab-tit font-14" href="#tab2">家电</a>-->
					<!--<a class="weui-navbar__item proinfo-tab-tit font-14" href="#tab3">服饰</a>-->
					<!--<a class="weui-navbar__item proinfo-tab-tit font-14" href="#tab4">数码</a>-->
					<!--<a class="weui-navbar__item proinfo-tab-tit font-14" href="#tab5">办公</a>-->
				<!--</div>-->
				<div class="weui-tab__bd proinfo-tab-con" style="padding-top:87px;">
					<!--
                                	作者：798966657@qq.com
                                	时间：2018-06-01
                                	描述：第一个分类
                                -->
					<div id="tab1" class="weui-tab__bd-item weui-tab__bd-item--active">
						<div class="weui-panel weui-panel_access">
							<div class="weui-media-box__bd  pd-10">
								<!--
                                	作者：798966657@qq.com
                                	时间：2018-06-01
                                	描述：第一个商品
                                -->
                               <div>
								<div class="weui-media-box_appmsg ord-pro-list"  th:each="gods: ${Goodslist}">
									<div class="weui-media-box__hd">
										<a href="#" th:each="imge:${gods.images}"><img class="weui-media-box__thumb" th:src="@{${imge.path}}" alt=""/></a>
									</div>
									<div class="weui-media-box__bd">
										<h1 class="weui-media-box__desc"><a href="#" class="ord-pro-link" th:text="${gods.goodsName}"></a></h1>
										<p class="weui-media-box__desc" th:text="${gods.goodsDsc}"></span></p>
										<div class="clear mg-t-10">
											<div class="wy-pro-pri fl">¥<em class="num font-15"  th:text="${gods.price}"></em></div>
										</div>

									</div>

									<div class="weui-media-box__bd">
										<h1 class="weui-media-box__desc"><a href="#" class="ord-pro-link" th:text="${gods.goodsState}"></a></h1>


									</div>

								</div>
							   </div>
								<!--
                                	作者：798966657@qq.com
                                	时间：2018-06-01
                                	描述：第二个商品
                                -->

							</div>
						</div>
					</div>
					<!--
                                	作者：798966657@qq.com
                                	时间：2018-06-01
                                	描述：第五个类别结束
                                -->
				</div>
			</div>
		</div>
	</body>
	<script src="../lib/jquery-2.1.4.js"></script>
	<script src="../lib/fastclick.js"></script>
	<script>
		$(function() {
			FastClick.attach(document.body);
		});
        function back() {
            window.location.href=document.referrer;
        }
	</script>
	<script src="../js/jquery-weui.js"></script>
</html>